<!DOCTYPE html>
<html>
<head>
  <title>HttpConnectionConfig.java</title>
  <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
  <link rel='stylesheet' type='text/css' href='../../../../../coverage.css'/>
  <link rel='shortcut icon' type='image/png' href='../../../../../logo.png'/>
  <script type='text/javascript' src='../../../../../coverage.js'></script>
  <script type='text/javascript' src='../../../../../prettify.js'></script>
</head>
<body onload='prettyPrint()'>
  <table cellpadding='0' cellspacing='1'>
    <caption>igraph_client_java/src/main/java/com/taobao/igraph/client/config/HttpConnectionConfig.java</caption>
    <tr>
      <td class='line'>1</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>package com.taobao.igraph.client.config;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'></td><td>&nbsp;</td>
      <td class='comment' onclick='showHideLines(this)'><div>/**
 * Created by chekong.ygm on 15/10/3.
 */</div><span>/*...*/</span></td>
    </tr>
    <tr>
      <td class='line'>6</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>public class HttpConnectionConfig {</pre></td>
    </tr>
    <tr>
      <td class='line'>7</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    private static final int DEFAULT_TIMEOUT_MS = 3000;</pre></td>
    </tr>
    <tr>
      <td class='line'>8</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l8s0'>    private int socketTimeout = DEFAULT_TIMEOUT_MS;</pre></td>
    </tr>
    <tr>
      <td class='line'>9</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l9s0'>    private int connectTimeout = DEFAULT_TIMEOUT_MS;</pre></td>
    </tr>
    <tr>
      <td class='line'>10</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l10s0'>    private int connectionRequestTimeout = DEFAULT_TIMEOUT_MS;</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>12</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l12s0'>    public HttpConnectionConfig() {</pre></td>
    </tr>
    <tr>
      <td class='line'>13</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l13s0'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>15</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l15s0'>    public HttpConnectionConfig(HttpConnectionConfig httpConnectionConfig) {</pre></td>
    </tr>
    <tr>
      <td class='line'>16</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l16s0'>        this.socketTimeout = httpConnectionConfig.socketTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>17</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l17s0'>        this.connectTimeout = httpConnectionConfig.connectTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>18</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l18s0'>        this.connectionRequestTimeout = httpConnectionConfig.connectionRequestTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>19</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l19s0'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>21</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public int getSocketTimeout() {</pre></td>
    </tr>
    <tr>
      <td class='line'>22</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l22s0'>        return socketTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>23</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>25</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public void setSocketTimeout(int socketTimeout) {</pre></td>
    </tr>
    <tr>
      <td class='line'>26</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l26s0'>        this.socketTimeout = socketTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>27</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l27s0'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>29</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public int getConnectTimeout() {</pre></td>
    </tr>
    <tr>
      <td class='line'>30</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l30s0'>        return connectTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>31</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>33</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public void setConnectTimeout(int connectTimeout) {</pre></td>
    </tr>
    <tr>
      <td class='line'>34</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l34s0'>        this.connectTimeout = connectTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>35</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l35s0'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>37</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public int getConnectionRequestTimeout() {</pre></td>
    </tr>
    <tr>
      <td class='line'>38</td><td class='count'>1</td>
      <td><pre class='prettyprint covered' id='l38s0'>        return connectionRequestTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>39</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    }</pre></td>
    </tr>
    <tr><td class='line'></td><td colspan='2'>&nbsp;</td></tr>
    <tr>
      <td class='line'>41</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>    public void setConnectionRequestTimeout(int connectionRequestTimeout) {</pre></td>
    </tr>
    <tr>
      <td class='line'>42</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l42s0'>        this.connectionRequestTimeout = connectionRequestTimeout;</pre></td>
    </tr>
    <tr>
      <td class='line'>43</td><td class='count'>0</td>
      <td><pre class='prettyprint uncovered' id='l43s0'>    }</pre></td>
    </tr>
    <tr>
      <td class='line'>44</td><td>&nbsp;</td>
      <td><pre class='prettyprint'>}</pre></td>
    </tr>
  </table>
</body>
</html>
